package adminRepository

import (
	adminModel "gin_http/internal/model/admin"
	commonRepository "gin_http/utils/common/repository"
)

type RoleRepository struct {
	*commonRepository.BaseRepository[adminModel.Role]
}

// NewRoleRepository  构造函数，注入 BaseRepository[Role]
func NewRoleRepository(base *commonRepository.BaseRepository[adminModel.Role]) *RoleRepository {
	return &RoleRepository{
		BaseRepository: base,
	}
}
